package com.example.vehiclemanagesystem.controller;

import com.example.vehiclemanagesystem.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController//返回json
public class HelloController {

    //@Autowired
    //private UserService userService;

    @GetMapping("/hello")
    public String hello(){ return "Hello!";}
    @GetMapping("/zzz")
    public String zzz(){return "zzz";}



   /*@GetMapping("/index")
    public String index() {
        return userService.selectUserByUsername("zry").toString();
    }*/
}
